import http from '@/utils/request'

//根据用户Id获取资产信息
export async function getAssetByUid(parm){
  return await http.getRestApi("/asset",parm)
}

//修改资产信息（/增扣积分/充值消费/修改支付密码)
export async function editUserAssetApi(parm){
  return await http.put("/asset",parm)
}

//
export async function checkAssetKeyApi(parm){
  return await http.post("/asset/key",parm)
}
